﻿@using NTQOnlineExam.Services.Infrastructure.MVC
<script src="@Url.Content("~/Scripts/orderhistory.js")"  type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/nqt-sort-grid.js")"  type="text/javascript"></script>
@{
    ViewBag.Title = this.LocalResources("PageTitle");
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<input type="hidden" value="0" id="orderhistory-selectedpage"/>
<div class="table-responsive">
    <table id="orderhistory-grid" class="table table-striped">
        <thead>
            <tr>
                <th class="sortable" role="OrderUniqueId">@this.LocalResources("OrderId") 
                    <span class="sorticon none" title="Sorting">
                        <p>none</p>
                    </span></th>
                <th class="sortable" role="CreationDate">@this.LocalResources("CreationDate")
                     <span class="sorticon none" title="Sorting">
                        <p>none</p>
                    </span>
                </th>
                <th class="sortable" role="SubTotal">@this.LocalResources("SubTotal")
                     <span class="sorticon none" title="Sorting">
                        <p>none</p>
                    </span>
                </th>
                <th>@this.LocalResources("Status")
                </th>
                <th class="command"></th>
            </tr>
        </thead>
        <tbody id="orderhistory-content">
         
        </tbody>
    </table>
     <div id="orderhistory-paging">
        
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        NQTSort.Init("orderhistory-grid", OrderHistory.Search);
        NQTSort.RequestData();
    });
</script>
